 :root{
            --navy: #0F172A; /* Deeper navy */
            --accent-gold: #FFD700; /* Bright gold */
            --light-sky: #F0F9FF; /* Very light blue */
            --dark-text: #1F2937; /* Dark gray for text on light backgrounds */
            --mid-gray-text: #4B5563; /* Medium gray for muted text */
            --gradient-dark-blue: linear-gradient(180deg, #102A43 0%, #243B53 100%);
        }
        body {
            font-family: 'Poppins', sans-serif;
            background: var(--light-sky);
            color: var(--dark-text);
            overflow-x: hidden;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            color: var(--navy);
        }

       /* Header */
.site-header {
    background: linear-gradient(to right, white,skyblue,skyblue); /* White → Sky Blue → Dark Blue */
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-wrap img {
    width: 150px;
    height: 68px;
    filter: drop-shadow(0 0 5px var(--accent-white));
}

.site-header .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.site-header .nav-link {
    color: #0F172A !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--accent-gold) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
    border-color: #E2E8F0;
    color: #E2E8F0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--accent-gold);
    color: var(--navy);
    border-color: var(--accent-gold);
}


        /* Hero section for MCQs Page */
        .hero-mcqs {
            background: linear-gradient(135deg, var(--navy) 0%, #2A6093 100%);
            color: white;
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-bottom: 5px solid var(--accent-gold);
        }
        .hero-mcqs h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 15px;
            color: white;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        }
        .hero-mcqs p {
            font-size: 1.15rem;
            max-width: 800px;
            margin: 0 auto;
            color: #B0D9EE;
        }

        /* MCQ Categories Section */
        .mcq-categories-section {
            padding: 5rem 0;
            background-color: white;
        }
        .section-title {
            font-size: clamp(2.2rem, 4vw, 3rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
            position: relative;
            padding-bottom: 10px;
            color: var(--navy);
        }
        .section-title::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 80px;
            height: 4px;
            background-color: var(--accent-gold);
            border-radius: 2px;
        }

        .mcq-category-card {
            background-color: #f8f9fa;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
            padding-bottom: 30px; /* Adjusted padding-bottom for content */
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s ease;
            overflow: hidden; /* Ensure image corners are rounded */
        }
        .mcq-category-card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        }
        .mcq-category-card .card-img-top {
            width: 100%;
            height: 180px; /* Fixed height for consistent look */
            object-fit: cover;
            border-radius: 12px 12px 0 0; /* Only top corners rounded */
            margin-bottom: 20px;
        }
        .mcq-category-card .card-content {
            padding: 0 25px; /* Padding for text content */
            flex-grow: 1; /* Allow content to grow */
            display: flex;
            flex-direction: column;
        }
        .mcq-category-card i {
            font-size: 3.5rem;
            color: var(--accent-gold); /* Icon color */
            margin-bottom: 20px;
            transition: transform 0.3s ease;
            position: relative; /* For icon overlay */
            top: -15px; /* Lift icon slightly */
        }
        .mcq-category-card:hover i {
            transform: scale(1.1);
        }
        .mcq-category-card h3 {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--navy);
            margin-top: -15px; /* Adjust margin due to lifted icon */
            margin-bottom: 15px;
        }
        .mcq-category-card .card-description {
            color: var(--dark-text);
            font-size: 0.95rem;
            margin-bottom: 25px;
            flex-grow: 1;
        }
        .mcq-links-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: auto; /* Push links to the bottom */
            padding: 0 25px; /* Match card content padding */
            padding-bottom: 30px; /* Space from bottom of card */
        }
        .mcq-links-group .btn-mcq-link {
            background-color: #e2e8f0; /* Light background for links */
            color: var(--navy);
            border: 1px solid #cbd5e0;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 500;
            transition: all 0.2s ease;
            text-decoration: none;
            flex-shrink: 0; /* Prevent shrinking on smaller screens */
        }
        .mcq-links-group .btn-mcq-link:hover {
            background-color: var(--accent-gold);
            color: white;
            border-color: var(--accent-gold);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(255,215,0,0.2);
        }

        /* Exam Rules Section */
        .exam-rules-section {
            padding: 5rem 0;
            background: linear-gradient(135deg, #E2E8F0, #D2DAE6); /* Light grey gradient */
            color: var(--dark-text);
        }
        .exam-rules-section .section-title {
            color: var(--navy);
        }
        .exam-rules-list {
            list-style: none; /* Remove default bullets */
            padding-left: 0;
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        .exam-rules-list li {
            margin-bottom: 15px;
            position: relative;
            padding-left: 30px; /* Space for custom icon */
        }
        .exam-rules-list li i {
            position: absolute;
            left: 0;
            top: 5px; /* Adjust vertically */
            color: #3B82F6; /* Blue checkmark */
            font-size: 1.3rem;
        }
        .exam-rules-list li strong {
            color: var(--navy);
        }


        /* Footer */
        footer {
            background: linear-gradient(to right, white, white, skyblue, skyblue);
            color: black;
            padding: 40px 0;
        }
        footer h5 {
            color: black;
            margin-bottom: 20px;
        }
        footer a {
            color: black;
            text-decoration: none;
        }
        footer a:hover {
            color: #FFD700;
        }
        .copyright {
            background: #111;
            padding: 10px;
            text-align: center;
            color: #777;
            font-size: 0.9rem;
        }

        /* Responsive adjustments */
        @media (max-width: 767px) {
            .hero-mcqs { padding: 50px 0; }
            .hero-mcqs h1 { font-size: 2rem; }
            .hero-mcqs p { font-size: 1rem; }
            .mcq-categories-section { padding: 3rem 0; }
            .mcq-category-card { padding-bottom: 20px; }
            .mcq-category-card .card-img-top { height: 150px; margin-bottom: 15px; }
            .mcq-category-card .card-content { padding: 0 15px; }
            .mcq-category-card i { font-size: 2.8rem; margin-top: 0; }
            .mcq-category-card h3 { font-size: 1.5rem; margin-top: -10px; }
            .mcq-category-card .card-description { font-size: 0.85rem; margin-bottom: 20px; }
            .mcq-links-group { padding: 0 15px; padding-bottom: 20px; }
            .mcq-links-group .btn-mcq-link { padding: 5px 10px; font-size: 0.85rem; }
            .exam-rules-section { padding: 3rem 0; }
            .exam-rules-list { font-size: 1rem; }
        }
         /* Social Media Icons */
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
            padding: 1rem 0;
        }
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            font-size: 1.5rem;
            color: #fff;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
        }
        .social-icons a:hover {
            transform: translateY(-4px) rotate(10deg);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        .social-icons a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: 0.5s;
        }
        .social-icons a:hover::before {
            left: 100%;
        }
        .social-icons .icon-instagram {
            background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        }
        .social-icons .icon-facebook {
            background: #1877F2;
        }
        .social-icons .icon-linkedin {
            background: #0077B5;
        }
        .social-icons .icon-twitter {
            background: #000000;
        }
        /* Bouncing Animation for Social Icons */
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        .social-icons a:nth-child(1) { animation: bounce 2s ease infinite 0.2s; }
        .social-icons a:nth-child(2) { animation: bounce 2s ease infinite 0.4s; }
        .social-icons a:nth-child(3) { animation: bounce 2s ease infinite 0.6s; }
        .social-icons a:nth-child(4) { animation: bounce 2s ease infinite 0.8s; }
        /* Responsive Adjustments for Social Icons */
        @media (max-width: 640px) {
            .social-icons a {
                width: 40px;
                height: 40px;
                font-size: 1.25rem;
            }
        }